package com.by.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Hzy
 * @version 1.0
 * @date 2025/2/26  16:56
 * @description
 * @since jdk11
 */
@Data
@ApiModel("产品轮播图")
public class ProductImg {
    @ApiModelProperty("产品轮播图id")
    int id;
    @ApiModelProperty("产品轮播图路径")
    List<String> imgsUrl;
    @ApiModelProperty("产品id")
    int productId;
    @ApiModelProperty("产品轮播图排序")
    int sortOrder;
    @ApiModelProperty("产品轮播图状态")
    int isdel;

    public ProductImg(int productId) {
        this.productId = productId;
    }

    public ProductImg(List<String> imgsUrl) {
        this.imgsUrl = imgsUrl;
    }
}
